import service from "@/utils/request";

// 获取所有PC点 /api/pc/gj/v1/culturalMap/allList/{businessCode}
export function getAllPcList(businessCode) {
  return service({
    url: `/api/pc/gj/v1/culturalMap/allList/${businessCode}`,
    method: "get",
  });
}

// 获取所有h5点 /api/h5/gj/v1/culturalMap/allList/{businessCode}
export function getAllH5List(businessCode) {
    return service({
      url: `/api/h5/gj/v1/culturalMap/allList/${businessCode}`,
      method: "get",
    });
}

// 获取PC背景图
export function getBackPcgroundImage(businessCode) {
    return service({
      url: `/api/pc/gj/v1/culturalMap/backgroundImage/${businessCode}`,
      method: "get",
    });
}

// 获取H5背景图
export function getBackH5groundImage(businessCode) {
    return service({
      url: `/api/h5/gj/v1/culturalMap/backgroundImage/${businessCode}`,
      method: "get",
    });
}